import request from '@/utils/request'

// 获取当前登录用户的邀请人信息
export function getLoginUserInvitationInfo(queryParams) {
  return request({
    url: "/conference/all/invite",
    method: 'get',
    params: queryParams
  })
}

// 条件查询当前登录用户的邀请人信息
export function handleQueryInvitationInfo(queryParams) {
  return request({
    url: 'conference/terms/invite',
    method: 'get',
    params: queryParams
  })
}

// 根据用户id删除会议邀请
export function deleteMenuById(ids) {
  return request({
    url: `conference/del/terms/${ids}`,
    method: 'delete',
  })
}

// 添加会议邀请信息
export function addTermsInvitationInfo(data) {
  return request({
    url: 'conference/add/terms',
    method: 'post',
    data
  })
}
